import http from '../http';

//table 分页列表
export function navigation42List(params) {
    return http({
        url: '/product/list',
        method: "post",
        params: params
    })
}

//table 新增/修改
export function navigation42AddEdit(data) {
    return http({
        url: '/product/save',
        method: "post",
        data: data
    })
}

//table 删除
export function navigation42Del(params) {
    return http({
        url: '/product/delete',
        method: "post",
        data: params
    })
}

//producttDetail 分页列表
export function producttDetailList(data) {
    return http({
        url: '/resource/getProductResource',
        method: "post",
        data: data
    })
}

//producttDetail 新增/修改
export function producttDetailAddEdit(data) {
    return http({
        url: '/productResource/save',
        method: "post",
        data: data
    })
}

//产品租赁
export function productRent(data) {
    return http({
        url: '/productTenancy/tenancy',
        method: "post",
        data: data
    })
}
